package net.maku.system.convert;

import net.maku.system.entity.SysUserDiscountEntity;
import net.maku.system.vo.SysUserDiscountVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户折扣
*
* @author 小陈 www.hong.ch@qq.com
* @since 1.0.0 2025-03-26
*/
@Mapper
public interface SysUserDiscountConvert {
    SysUserDiscountConvert INSTANCE = Mappers.getMapper(SysUserDiscountConvert.class);

    SysUserDiscountEntity convert(SysUserDiscountVO vo);

    SysUserDiscountVO convert(SysUserDiscountEntity entity);

    List<SysUserDiscountVO> convertList(List<SysUserDiscountEntity> list);

}